﻿using System.Web.Mvc;

namespace Niunan.VideoSys.Web.Areas.Adnn1n
{
    public class Adnn1nAreaRegistration : AreaRegistration 
    {
        public override string AreaName 
        {
            get 
            {
                return "Adnn1n";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context) 
        {
            context.MapRoute(
                "Adnn1n_default",
                "Adnn1n/{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                new string[] { "Niunan.VideoSys.Web.Areas.Adnn1n.Controllers" }
            );
        }
    }
}